% All panels for Figure 2 are from Eliot020517Recording-Rater1-SPDLs.mat and CSC5.ncs % Assumes RootFolder has been initiallized (see webpage) % Figure 2B = spindle 720 % Figure 2C = spindle 173 % Figure 2D = spindle 304 % Figure 2E = spindle 752 % Figure 2F = spindle 627 % Figure 2H = baseline recording (not a spindle; snapshot shows timestamps 1126.2x10^4 to 1128.2x10^4) RawData=[RootFolder '\Data\SpindleData\CSC5.ncs']; SPDLFile=[RootFolder '\Data\SpindleData\GroundTruth\Eliot020517Recording-Rater1-SPDLs.mat']; ExpName='Eliot020517Recording'; Pars=GetExperimentParameters(ExpName); data=load(SPDLFile); stops=data.Stops; [tstart, tend]=GetEPTime(Pars.epochs,'150minBLOCK'); RateEEG(SPDLFile,RawData,tstart,tend, stops,{'good','medium','bad','k-less','k-alone'}); % set the pull down menu to 'none', then move the slider bar and click on 'Previous' or 'Next' to locate the spindle of interest.